import store from './index';
const trigger = (now: any) => ({
  async addLater() {
    const { add } = now(store.counter);
    await new Promise(resolve => setTimeout(resolve, 1000));
    add();
  },
});
export default {
  trigger,
};
